package com.toubutu.audio.common;

/** 权限编码
 * @author 戒躁
 * @date 2024/1/23
 */
public class PermissionCode {


    /**
     * 权限管理相关接口
     */
    public interface Permission {
        String PERMISSION_BIND="permission:bind";
        String PERMISSION_LIST="permission:list";
        String PERMISSION_DETAIL="permission:detail";
        String PERMISSION_DELETE="permission:delete";
        String PERMISSION_ADD="permission:add";
        String PERMISSION_UPDATE="permission:update";
    }

    /**
     * 角色管理权限
     */
    public interface Role{
        String ROLE_BIND_USER="role:bind:user";
        String ROLE_LIST="role:list";
        String ROLE_ADD="role:add";
        String ROLE_UPDATE="role:update";
        String ROLE_DELETE="role:delete";
        String ROLE_DETAIL="role:detail";
    }

    public interface Video{
        String VIDEO_LIST = "video:list";
        String VIDEO_DETAIL = "video:detail";
        String VIDEO_ADD = "video:add";
        String VIDEO_UPLOAD = "video:upload";
        String VIDEO_DELETE = "video:delete";
        String VIDEO_UPDATE = "video:update";
    }

    public interface Category{
        String CATEGORY_LIST = "category:list";
        String CATEGORY_DETAIL = "category:detail";
        String CATEGORY_ADD = "category:add";
        String CATEGORY_DELETE = "category:delete";
        String CATEGORY_UPDATE = "category:update";
    }

    public interface Tag{
        String TAG_LIST = "tag:list";
        String TAG_DETAIL = "tag:detail";
        String TAG_ADD = "tag:add";
        String TAG_DELETE = "tag:delete";
        String TAG_UPDATE = "tag:update";
    }

    public interface Comment{
        String COMMENT_LIST = "comment:list";

        String COMMENT_DELETE = "comment:delete";

    }



}
